package com.wz.producerserv.service.impl;

import com.wz.producerserv.service.ProducerService;
import org.springframework.stereotype.Service;

@Service
public class ProducerServiceImpl implements ProducerService {

    public String addPrefix(String name, String prefix) {
        if ("FEIWU".equals(name)) {
            throw new NullPointerException();
        }

        return prefix + "," + name;
    }
}
